Early Preview
This is currently very much a preview. Please feel free to try things out,
but don't be upset if anything is not yet working. Feedback is welcome over on our
GitHub Dicussions page.
class Microsoft.​AspNetCore.​Authentication.​PrincipalContext<​TOptions>
Assembly: Microsoft.AspNetCore.Authentication
Inheritance: object → BaseContext<​TOptions> → PropertiesContext<​TOptions> → PrincipalContext
Base context for authentication events which deal with a ClaimsPrincipal.
Properties
Principal
Gets the <see cref="T:System.Security.Claims.ClaimsPrincipal" /> containing the user claims.
public
AuthenticationProperties
Properties
public
AuthenticationScheme
Scheme
public
TOptions
Options
HttpContext
Request
Response
Methods
public
bool
Equals​(object obj)
Inherited from object
protected
void
Finalize​()
Inherited from object
public
int
GetHashCode​()
Inherited from object
protected
object
MemberwiseClone​()
Inherited from object
public
string
ToString​()
Inherited from object